<script setup>
import { ref, computed } from 'vue'
const score = ref([10, 20, 30, 80, 90])
const goodScore = computed(() => {
  console.log('执行了');
  return score.value.filter(item => item > 60)
})
// const badScore = computed({
//   get() {
//     return 10
//   },
//   set() {

//   }
// }) 

</script>

<template>
  <div>
    好成绩{{ goodScore }}
    好成绩{{ goodScore }}
    好成绩{{ goodScore }}
    好成绩{{ goodScore }}
  </div>
</template>